import { REFRESH_SERIALS_APPLICATIONS_PAGEABLE } from '../constant/action-type'

const initState = {
  totalElements: 1,
  content: [
    {
      id: 1,
      applicant: 'acey',
      title: 'title',
      resourceId: '乘风宣讲系列：Online第2场',
      reason: '申请理由。。。。。。。。。',
      status: '申请中',
      type: 'serial',
      email: 'aa@qq.com'
    }
  ]
}
export default (state = initState, action) => {
  switch (action.type) {
    case REFRESH_SERIALS_APPLICATIONS_PAGEABLE:
      return action.data
    default:
      return state
  }
}
